home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000356_carldeitrich5@comcast.net_Thu Oct 30 12:07:08 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: carldeitrich5@comcast.net (Carl)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: TEST NETWORK CONNECTION
  5. Date: 30 Oct 2003 08:28:49 -0800
  6. Organization: http://groups.google.com
  7. Lines: 34
  8. Message-ID: <4c64004.0310300828.29056c35@posting.google.com>
  9. References: <4c64004.0310290631.3b5f136c@posting.google.com> <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 146.145.216.207
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1067531330 6305 127.0.0.1 (30 Oct 2003 16:28:50 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Thu, 30 Oct 2003 16:28:50 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14610
  17.  
  18. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>...
  19. > In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
  20. > : I am trying to write a script which looks to see if a netwok
  21. > : connection is available and if it is sent files over the network.  If
  22. > : the network is not available I want to initiate a script that will
  23. > : send the files over a land line phone.
  24. > :  
  25. > echo "Trying net..."
  26. > set host xxx
  27. > if fail {
  28. >     echo "Net connection failed - trying phone..."
  29. >     set modem type yyy
  30. >     set speed 57600     ; or whatever
  31. >     dial 7654321
  32. >     if fail exit 1 "Phone connection failed too"
  33. > }
  34. > ; If you reach this point you have a connection,
  35. > ; and you can log in, start Kermit on the other end,
  36. > ; transfer files, and log out.
  37. > See "help set host" for SET HOST command details.  See "help dial" and
  38. > "help set dial" and "help set modem" for dialing options and details.
  39. > See:
  40. >   http://www.columbia.edu/kermit/ckscripts.html
  41. > for a scripting tutorial and examples.
  42. > - Frank
  43.  
  44. FRANK,
  45. THANKS ALOT!  WORKED LIKE A CHARM
  46. CARL
  47.